package com.juneng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 话题评论实体类
 *
 * @author zds
 * @since 2021-07-28
 */
@Data
@ApiModel(value = "CommentDiscuss对象", description = "话题评论")
@TableName("comment_discuss")
public class CommentDiscuss implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
  @ApiModelProperty(value = "自增ID")
  @TableId(value = "discuss_id", type = IdType.AUTO)

  private Long discussId;
    /**
     * 话题表id
     */
  @ApiModelProperty(value = "话题表id")

  private Long commentId;
    /**
     * 评论内容
     */
  @ApiModelProperty(value = "评论内容")

  private String replyMessege;
    /**
     * 创建时间
     */
  @ApiModelProperty(value = "创建时间")

  private LocalDateTime createDate;
    /**
     * 更新时间
     */
  @ApiModelProperty(value = "更新时间")

  private LocalDateTime updateDate;
    /**
     * 逻辑删除：0->不删除  1->删除
     */
  @ApiModelProperty(value = "逻辑删除：0->不删除  1->删除")

  private Integer deleted;
    /**
     * 用户ID
     */
  @ApiModelProperty(value = "用户ID")

  private Long userId;
    /**
     * 点赞量
     */
  @ApiModelProperty(value = "点赞量")

  private Integer goodCount;


}
